package com.cc.dao;

import java.util.List;

import com.cc.entity.Major;

public interface MajorMapper {
    int deleteByPrimaryKey(String id);

    int insert(Major record);

    int insertSelective(Major record);

    Major selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Major record);

    int updateByPrimaryKey(Major record);
    
    /**
     * 根据学院查专业
     */
    public List<Major> selectByIns(String insid);
}